import yaml

def load_yaml(path):
    file = open(path, 'r', encoding='utf-8')
    data = yaml.load(file, Loader=yaml.FullLoader)
    # print(data)
    # print(data[0]['object_data']['header'])
    return data

if __name__ == '__main__':
    print(load_yaml('../data/object.yaml'))